Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for standard Forwarded header #4266

Closed
wants to merge 1 commit into from

Conversation

tony-co
Copy link
Contributor

@tony-co tony-co commented Sep 24, 2014

these (see ":doc:`/components/http_foundation/trusting_proxies`").
The code for doing this will need to live in your front controller (e.g. ``web/app.php``).

.. versionadded:: 2.6
``Forwarded`` header support was introduced in Symfony 2.6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this shouldn't be the last section on the page.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh What would you advise? Moving those two lines above the paragraph?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move it below the first paragraph you modified.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay indeed it makes more sense at the top.

@tony-co
Copy link
Contributor Author

tony-co commented Feb 18, 2015

ping @wouterj @xabbuh The related functionality has been merged recently. Shall we have a final look at this?

@timglabisch
Copy link
Contributor

👍

Most reverse proxies store information on specific ``X-Forwarded-*`` headers.
But if your reverse proxy uses non-standard header names, you can configure
Although `rfc7239`_ recently defined a standard ``Forwarded`` header to disclose
all proxy information, most reverse proxies stores information on non standard
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stores -> store

@@ -90,9 +95,12 @@ other information.
My Reverse Proxy Uses Non-Standard (not X-Forwarded) Headers
------------------------------------------------------------

Most reverse proxies store information on specific ``X-Forwarded-*`` headers.
But if your reverse proxy uses non-standard header names, you can configure
Although `rfc7239`_ recently defined a standard ``Forwarded`` header to disclose
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be "RFC 7239"

@wouterj
Copy link
Member

wouterj commented Feb 20, 2015

I forgot to review this one and only commented on @cordoval's comment. I've added 2 minor comments, once those are fixed, Ill label it as "finished". Thanks!

@wouterj
Copy link
Member

wouterj commented May 15, 2015

Hi @tony-co. Do you have time to update this PR? Don't worry if you don't have time soon, there will be a doc sprint day on May 23rd. During that day, we want to finish as much PRs as possible. Maybe you can join in then or we can hand it over to someone else on that day if you want :)

@javiereguiluz
Copy link
Member

This PR has been completed in #5382.

@xabbuh xabbuh closed this Jun 11, 2015
weaverryan added a commit that referenced this pull request Jun 28, 2015
…aviereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Added support for standard Forwarded header

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.7+
| Fixed tickets | -

This PR finishes the work made by @tony-co in #4266.

Commits
-------

8928049 Fixed a minor grammar issue
319c081 Fixed a minor grammar issue
ac3689b Added support for standard Forwarded header
d452137 Added support for standard Forwarded header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants